﻿using System;
using System.Collections.Generic;
using H;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;

// Token: 0x0200041A RID: 1050
public class DebugMapSelect : MonoBehaviour
{
	// Token: 0x06001A19 RID: 6681 RVA: 0x000A7094 File Offset: 0x000A5294
	private void Start()
	{
		this.h_scene = UnityEngine.Object.FindObjectOfType<H_Scene>();
		List<string> list = new List<string>();
		for (int i = 0; i < DebugMapSelect.PoseNames.Length; i++)
		{
			list.Add(DebugMapSelect.PoseNames[i]);
		}
		this.dropdownPose.value = -1;
		this.dropdownPose.ClearOptions();
		this.dropdownPose.AddOptions(list);
		this.dropdownPose.onValueChanged.AddListener(new UnityAction<int>(this.ChangePose));
	}

	// Token: 0x06001A1A RID: 6682 RVA: 0x000A7118 File Offset: 0x000A5318
	private void Update()
	{
		bool active = this.h_scene.mainMembers.StateMgr.NowStateID == H_STATE.START;
		this.dropdownPose.gameObject.SetActive(active);
	}

	// Token: 0x06001A1B RID: 6683 RVA: 0x000A7150 File Offset: 0x000A5350
	public void ChangePos(int no)
	{
		this.h_scene.mainMembers.floorPosNo = no;
		this.h_scene.mainMembers.wallPosNo = no;
		this.h_scene.mainMembers.chairPosNo = no;
		this.h_scene.mainMembers.specialPosNo = no;
		H_Pos h_pos = this.h_scene.mainMembers.SetDataPos();
		this.h_scene.VisitorPos(h_pos, -1);
	}

	// Token: 0x06001A1C RID: 6684 RVA: 0x000A71C0 File Offset: 0x000A53C0
	private void ChangePose(int no)
	{
		string[] array = new string[]
		{
			"RitsukoFirstH",
			"RitsukoStandResist",
			"RitsukoLieResist",
			"RitsukoChairResist",
			"RitsukoStandFlip",
			"RitsukoLieFlip",
			"RitsukoChairFlip",
			"AkikoFirstH",
			"AkikoStandResist",
			"AkikoLieResist",
			"AkikoChairResist",
			"AkikoStandFlip",
			"AkikoLieFlip",
			"AkikoChairFlip",
			"YukikoFirstH",
			"YukikoStandResist",
			"YukikoLieResist",
			"YukikoChairResist",
			"YukikoStandFlip",
			"YukikoLieFlip",
			"YukikoChairFlip",
			"Excite_VaginaA",
			"Excite_VaginaB",
			"Excite_VaginaC",
			"Excite_AnalA",
			"Excite_AnalB",
			"Excite_AnalC",
			"Excite_ServiceA",
			"Excite_ServiceB",
			"Excite_ServiceC",
			"RitsukoFlipFlop",
			"AkikoFlipFlop",
			"YukikoFlipFlop",
			"FinalYukiko1",
			"FinalSisters",
			"FinalYukiko2",
			"MarikoFirstH",
			"MarikoStandResist",
			"MarikoLieResist",
			"MarikoChairResist",
			"MarikoStandFlip",
			"MarikoLieFlip",
			"MarikoChairFlip",
			"MarikoFlipFlop",
			"FinalMariko"
		};
		this.h_scene.StartPose(0, array[no]);
		this.h_scene.mainMembers.SetDataPos();
	}

	// Token: 0x04001CFC RID: 7420
	private H_Scene h_scene;

	// Token: 0x04001CFD RID: 7421
	[SerializeField]
	private Dropdown dropdownPose;

	// Token: 0x04001CFE RID: 7422
	private static readonly string[] PoseNames = new string[]
	{
		"律子初回H",
		"律子立ち抵抗",
		"律子床抵抗",
		"律子椅子抵抗",
		"律子立ち豹変",
		"律子床豹変",
		"律子椅子豹変",
		"明子初回H",
		"明子立ち抵抗",
		"明子床抵抗",
		"明子椅子抵抗",
		"明子立ち豹変",
		"明子床豹変",
		"明子椅子豹変",
		"雪子初回H",
		"雪子立ち抵抗",
		"雪子床抵抗",
		"雪子椅子抵抗",
		"雪子立ち豹変",
		"雪子床豹変",
		"雪子椅子豹変",
		"性器挑発A",
		"性器挑発B",
		"性器挑発C",
		"アナル挑発A",
		"アナル挑発B",
		"アナル挑発C",
		"奉仕挑発A",
		"奉仕挑発B",
		"奉仕挑発C",
		"律子豹変イベント",
		"明子豹変イベント",
		"雪子豹変イベント",
		"最終：雪子１",
		"最終：姉妹",
		"最終：雪子２",
		"真理子初回H",
		"真理子立ち抵抗",
		"真理子床抵抗",
		"真理子椅子抵抗",
		"真理子立ち豹変",
		"真理子床豹変",
		"真理子椅子豹変",
		"真理子豹変イベント",
		"最終：真理子"
	};
}
